﻿using System;
using System.Runtime.CompilerServices;

namespace Quicklight.Mobile.Cordova.Geolocation {

   [IgnoreNamespace]
   public class PositionError {
      [ScriptName("PERMISSION_DENIED")]
      public const double PERMISSION_DENIED = 0;
      [ScriptName("POSITION_UNAVAILABLE")]
      public const double POSITION_UNAVAILABLE = 1;
      [ScriptName("TIMEOUT")]
      public const double TIMEOUT = 2;

      [ScriptName("code")]
      public double Code;
      [ScriptName("message")]
      public string Message;
   }

}
